<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt" lang="pt-br">
<?php 
	require_once('functions.php');
	require_once('user.php');
	require_once('checklist.php');
	session_start();
	if(!$_SESSION['email'])
	   header('location /savua');
	else
    	$user = new user($_SESSION['email']);

	include 'header.php';
?>

<body>
		<?php include 'head.php' ?>
	<div class="content-wrapper">
		<?php include 'sidebar.php' ?>
		<form action="cadastrar.php" method="post" name="cadastro" id="cadastro">
			<h2>Cadastro</h2>
			<p>Nome (*):<br/> <input type="text" name="nome" id="nome" class="required"/></p>
			<p>Email (*): <br/><input type="text" name="email" id="email" class="required"/></p>
			<p>Senha (*): <br/><input type="password" name="password" id="password" class="required" /></p>
			<p> Confirmar senha:<br/> <input type="password" name="repassword" id="repassword" class="required" /></p>
			<p><input type="submit" id="signup" value="Cadastrar"/></p>
		</form>
		<div class="clear"></div>
	</div>

</body>
</html>